package net.API.IssueLemon.logical_processing;

import java.util.Scanner;

public class input {
    public static int cinI(){
        int i;
        Scanner sc = new Scanner(System.in);
        try{
            i = sc.nextInt();
        } catch (Exception e) {
            throw new RuntimeException(e);
        }
        sc.close();
        return i;
    }
    public static float cinF(){
        float f;
        Scanner sc = new Scanner(System.in);
        try{
            f = sc.nextFloat();
        }catch(Exception e){
            throw new RuntimeException(e);
        }
        return f;
    }
    public static double cinD(){
        double b;
        Scanner sc = new Scanner(System.in);
        try{
            b = sc.nextDouble();
        }catch (Exception e){
            throw new RuntimeException(e);
        }
        return b;
    }
    public static String cinS(){
        String s;
        Scanner sc = new Scanner(System.in);
        try{
            s = sc.next();
        }catch (Exception e){
            throw new RuntimeException(e);
        }
        return s;
    }
}